package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 招生阶段名称
 * </p>
 *
 * @author hpiggy
 * @since 2024-09-04
 */
@Data
@TableName("enroll_stage_type")
@ApiModel(value = "EnrollStageType对象", description = "招生阶段名称")
public class EnrollStageType implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("阶段名称")
    private String name;

    @ApiModelProperty("排序号")
    private Integer sort;

    @ApiModelProperty("状态：1正常，0关闭")
    private Integer status;

    @ApiModelProperty("0没有周期，1：有周期")
    private Integer type;

    @ApiModelProperty("创建人")
    @TableField(fill = FieldFill.INSERT)
    private Long createdId;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    private Integer deleted;

}
